package com.xaicode.auth.service;

import com.xaicode.auth.base.BaseMpService;
import com.xaicode.auth.entity.SysPost;
import com.xaicode.auth.security.domain.params.SysPostQueryParam;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author zhaoeryu
 * @since 2023/5/31
 */
public interface ISysPostService extends BaseMpService<SysPost> {

    PageInfo<SysPost> queryPage(SysPostQueryParam query);

    List<SysPost> queryList(SysPostQueryParam query);

    List<Integer> getPostIdsByUserId(String userId);

}
